/*-----------------------------------------------------------------------
|                            FILE DESCRIPTION                           |
-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------
  - File name      : STC8x_CORE.h
  - Author         : Quark Team
  - Update date    : 2020-12-20                   
  -	Copyright      : Gevico Electronic studio   
  - Module comments: Header file of MCU core.
-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------
|                               UPDATE NOTE                             |
-----------------------------------------------------------------------*/
/**
  * ------------   ---------------   ------------------------------------
  *     Date            Author                         Note
  * ------------   ---------------   ------------------------------------
  *  2020.12.20         zeweni       Write STC8 core data structure.
  * 
***/

#ifndef __STC8x_CORE_H_
#define __STC8x_CORE_H_
/*-----------------------------------------------------------------------
|                               INCLUDES                                |
-----------------------------------------------------------------------*/

/*--------------------------------------------------------
| @Description: STC8Hx Data type                         |
--------------------------------------------------------*/

#include "STC8x_TYPE.h"

/*-----------------------------------------------------------------------
|                                 DATA                                  |
-----------------------------------------------------------------------*/

/*--------------------------------------------------------
| @Description: Functional State                         |
--------------------------------------------------------*/

typedef enum 
{
	DISABLE = 0, ENABLE = !DISABLE
}   FUNSTATE;

/*--------------------------------------------------------
| @Description: Function self checking                   |
--------------------------------------------------------*/

typedef enum
{
    FSC_FAIL= 0, /* Function self checking failed */
    FSC_SUCCESS = !FSC_FAIL /* Function self checking successfed */ 
}   FSCSTATE; 

#endif
/*-----------------------------------------------------------------------
|          END OF FLIE        (C) COPYRIGHT Gevico Electronics          | 
-----------------------------------------------------------------------*/
